<div class="bh-ly-yw-center-jiudian-xialeft ">

<!-- <h3 class="bh-ly-yw-shang red">景区列表</h3> -->
<div class='bh-Border_1'>
		<?php foreach ($data->getData() as $one):?>

		<div class='si-w'>
			<div class='si-img-w'>
				<a href='<?php echo $one->vurl?>' title='<?php echo $one->fullTitle?>' target='<?php echo Yii::app()->option->get('scenic_list_target');?>'><?php echo $one->img(448,228)?></a>
			</div>
			<div class='si-desc-w'>
				<p class='si-desc-title'>
					<a class='si-title a-blue bh-strong' href='<?php echo $one->vurl?>' target='<?php echo Yii::app()->option->get('scenic_list_target');?>'><?php echo $one->fullTitle?></a>
					<span class='si-district'>[<?php echo $one->getDetailProvince()?>]</span>
					<span class='si-level font-clr'><?php echo Yii::app()->enum->lookUp('basic.scenicStar',$one->star)?></span>
				</p>
				<table>
					<tr>
						<th width=60px>景点介绍：</th>
						<td><?php echo CUtilHelper::string()->msubstr($one->vDesc,0, 60, 'utf-8', '..');?>
							<a href='<?php echo $one->vurl?>' class='a-blue' target='<?php echo Yii::app()->option->get('scenic_list_target');?>'>详细介绍</a>
						</td>
					</tr>
					<tr>
						<th>景点地址：</th>
						<td title='<?php echo $one->address?>'><?php echo CUtilHelper::string()->msubstr($one->address,0, 23, 'utf-8', '..')?></td>
					</tr>
					<tr>
						<th>最新点评：</th>
						<?php foreach (GoodsComment::model()->commentData('Scenic',$one->id, 1) as $key => $oneComment):?>
						<td title='<?php echo $oneComment->content?>'><?php echo CUtilHelper::string()->msubstr($oneComment->content,0, 23, 'utf-8', '..')?></td>
						<?php endforeach;?>
					</tr>
				</table>
			</div>
			<div class='si-other-w'>
				<p class='si-price'>
					<span class='si-price-sign font-clr bh-strong fs-14'>￥</span>
					<span class='si-price-inner font-clr bh-strong fs-36'><?php echo intval(CHtml::value($one, 'minObj.priceInfo.price_dealer'))?></span>
					起
				</p>
				<a class='si-comm-stat' href='<?php echo Yii::app()->controller->createUrl('comment',array('type'=>'Scenic','id'=>$one->id))?>' target='<?php echo Yii::app()->option->get('commment_list_target');?>'>
					<?php echo GoodsComment::model()->count(GoodsComment::model()->companyCriteria('Scenic',$one->id));?>条用户点评
				</a>
			</div>
			<div class='bh-clear'></div>
			<div class='si-ticket-w'>
				<table class='tb-sku'>
					<thead>
						<tr><th>门票类型</th><th>票面价</th><th>优惠价</th><th>供货商</th><th></th></tr>
					</thead>
					<tbody>
						<?php foreach ($one->goods as $item):?>
						<tr>
							<td><?php echo $item->ticket_type?></td>
							<td class='td-delete'>￥<?php echo intval(CHtml::value($item, 'goods.priceInfo.price_market'))?></td>
							<td class='font-clr bh-strong fs-14'>￥<?php echo intval(CHtml::value($item, 'goods.priceInfo.price_dealer'))?></td>
							<td><a href=<?php echo Yii::app()->createUrl('shop/index',array('uid'=>CHtml::value($item, 'goods.provider_id')))?> target='_blank'><?php echo CHtml::value($item, 'goods.provider.profile.nickname')?></a></td>
							<td>
                            <a href='<?php echo $this->createUrl('channel/scenicWrite',array('id'=>$item->goods_id))?>' class="jj-hotel-yuding" target='<?php echo Yii::app()->option->get('scenic_order_target');?>'>立即预定</a>
                            </td>
						</tr>
						<?php endforeach;?>
					</tbody>
				</table>
			</div>
		</div>
		<?php endforeach;?>
		<div class="bh-space"></div>
		<div class="bh-c-shuizi1-c-yy bh-mLeft20 bh-fr">
			<?php $this->widget('LyLinkPager',array(
					'pages' => $data->pagination,
				))?>
		</div>
		</div>
</div>